package com.zhupanlin.utils;

import com.zhupanlin.pojo.Configuration;

import java.sql.ResultSet;
import java.util.*;

public class ParameterMappingTokenHandler implements TokenHandler {
    private final List<ParameterMapping> parameterMappings = new ArrayList();
    

    public List<ParameterMapping> getParameterMappings() {
        return this.parameterMappings;
    }

    public String handleToken(String content) {
        this.parameterMappings.add(this.buildParameterMapping(content));
        return "?";
    }

    private ParameterMapping buildParameterMapping(String content) {
        ParameterMapping parameterMapping = new ParameterMapping(content);
        
        return parameterMapping;
    }

    
}